package demo4;

// 具体命令：粘贴
public class PasteCommand extends Command {
    public PasteCommand(EditorMediator mediator) {
        super(mediator);
    }

    @Override
    public void execute() {
        mediator.paste(); // 委托中介者处理
    }
}
